<%@ page language="java" pageEncoding="utf-8"%>
<%@ page contentType="text/html;charset=gb2312"%>
<%
//127.0.0.1
	String baseUrl = "http://127.0.0.1:801/biplam";
	String rptPort = "/ListReport.bi";

	String reportId = request.getParameter("reportId");
	if (reportId == null) {
		out.print("缺少reportId参数.");
		return;
	}
	
	String organ=request.getParameter("organ");

	StringBuilder sb = new StringBuilder();
	sb.append(baseUrl);
	sb.append(rptPort);
	sb.append("?.r.rptId=");
	sb.append(reportId);
	sb.append("&organ=");
	sb.append(organ);
	String conditionUrl = sb.toString();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=GB2312" />
		<META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">

	</head>
	<body style="padding: 0px; margin: 0px;">
		<iframe id="condition" src="<%=conditionUrl%>" height="100%"
			width=100% frameborder="0" marginwidth="0" marginheight="0"
			scrolling="no" style="">
		</iframe>
	</body>
</html>
